#include "EntityManager.h"
#include <iostream>

int EntityManager::xcy_int = 10;

EntityManager::EntityManager()
{
	std::cout << " EntityManager Construct !!" << std::endl;
}

EntityManager::~EntityManager()
{
	std::cout << " EntityManager Destruct !!" << std::endl;
}

//std::string EntityManager::getClassName()
//{
//	std::cout << " ClassName EntityManager !!" << std::endl;
//	return "EntityManager";
//}


void EntityManager::PrintEntityListInfo(std::string str, int a)
{
	//for (EntityList::const_iterator itr = entity_list_.begin();
		//itr != entity_list_.end(); ++itr)
	//{
		//std::cout << (*itr)->GetVirtualName() << std::endl;
	//}
	std::cout << "current index:" << a << " static: " << GetStaticValue() << "-" << GetFunctionValue() << std::endl
		<< std::endl << std::endl;

	std::cout <<  "static member: " << ++getStaticValue() << std::endl << std::endl;
}

EntityManager* gEntityMgr = new EntityManager;

//int main(int argc, const char **argv) {
    //gEntityMgr->PrintEntityListInfo("xxxxx", 10);
    //return 0;
//}
